

package com.api.oa.services;

import com.api.oa.model.entity.YQFaceAttend;
import com.api.oa.model.vo.OaOrgTreeVO;
import com.api.oa.model.vo.YQFaceAttendVO;
import com.github.pagehelper.PageInfo;
import java.util.List;

public interface YQFaceAttendService {


    Integer add(YQFaceAttend entity) throws Exception;


    void remove(Long id);


    Integer update(YQFaceAttend org);


    PageInfo<YQFaceAttendVO> list(String insCode, String status, String type,String role, Integer pageIndex, Integer pageSize);


    YQFaceAttend one(Long id);


    /**
     * 用户的每周打卡记录
     * @param userId
     * @return
     */
    List<String> findWeekAttend(Long userId);

 }
